package io.renren.modules.project.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.Date;

@Data
@TableName("pro_plan")
public class ProPlanEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId
    private Integer id;

    // 项目名称
    @NotBlank(message="项目名称不能为空")
    private String projectName;
    // 项目描述
    private String projectDesc;

    @TableField(exist=false)
    private double processPercent;

    private Date startTime;
    private Date endTime;
    private Date actualDeliveryTime;

    private Date createTime;
    private Date updateTime;
    private Long createUserId;
    private Long updateUserId;


}
